
import java.util.ArrayList;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Thomas
 */
public class abilityHeal extends ability{
    public abilityHeal(){
        super("Heal", "Heal yourself for a small amount.");
    }
    public void effect(combatObject self, ArrayList<combatObject> f, ArrayList<combatObject> e){
        System.out.println("Healed self for " + self.getMagicAttack() + ".\n");
        self.affectHP(-self.getMagicAttack());
    }
    
}
